package entity

type SimCardAgent struct {
	Id          int64  `gorm:"column:id;primary_key" json:"id"`
	Name        string `gorm:"column:name;type:varchar(255);comment:名称" json:"name"`
	Code        string `gorm:"column:code;type:varchar(255);comment:代码" json:"code"`
	Description string `gorm:"column:description;type:varchar(4096);comment:描述" json:"description"`
	Balance     int32  `gorm:"column:balance;type:int;comment:账号余额" json:"balance"`
	CreatedAt   int64  `gorm:"column:created_at;type:bigint" json:"created_at"`
	UpdatedAt   int64  `gorm:"column:updated_at;type:bigint" json:"updated_at"`
}

func (s *SimCardAgent) TableName() string {
	return "sim_card_agent"
}
